import http from '../utils/http'
// interface dataType{}
const loginApi=async (_data:{name:string,password:string})=>{
    const {data}=await http.post('/login',_data);
    return data;
}
export {
    loginApi
}